/**
 * @Author lzc
 * @Date 2022/4/17 15:06
 */
public class Demo1 {
    public static void main(String[] args) {
        String s = "id,coupon_id,range_type,range_id";
//        System.out.println(s.replaceAll("([^,]+)", "$1 varchar"));
        System.out.println(s.replaceAll(",", " varchar, ") + " varchar");
    }
}
